package com.cd.javacxy.module.web.dao;

import com.cd.javacxy.common.model.entity.CxyTopicVoteDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * CxyTopicVoteDetail的Dao接口
 *
 * @author yanghy
 */
public interface CxyTopicVoteDetailDao {

    int insertBatch(List<CxyTopicVoteDetail> topicVoteDetails);

    List<CxyTopicVoteDetail> selectList(@Param("voteId") Integer voteId);

    int updateVoteCountBatch(List<Integer> voteDetailList);
}